package router

import (
	"fx_swift_ifcgate/internal/controller"
	"fx_swift_ifcgate/pkg/middleware"
)

func PayeeRouter() {
	indexApiVer := miniApiVer.Group("payee", middleware.CheckAuth())
	{
		indexApiVer.POST("operatorDomesticPayee", controller.OperatorDomesticPayee)
		indexApiVer.POST("queryPayeeDomesticInfo", controller.QueryPayeeDomesticInfo)

		indexApiVer.POST("operatorPayeeInternation", controller.OperatorPayeeInternation)
		indexApiVer.POST("payeeInternationList", controller.PayeeInternationList)
		indexApiVer.POST("payeePostTp3005", controller.PayeePostTp3005)

		indexApiVer.GET("payeeInternationDetails", controller.PayeeInternationDetails)
		indexApiVer.GET("payeeInternationDel", controller.PayeeInternationDel)
		indexApiVer.GET("payeeDomesticDetails", controller.PayeeDomesticDetails)
	}
}
